package com.bbm.bbmanage.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.bbm.bbmanage.entity.HouseStar;
import com.bbm.bbmanage.entity.vo.ResponseResult;


/**
 * (HouseStar)表服务接口
 *
 * @author lionkliu
 * @since 2024-03-24 14:32:06
 */
public interface HouseStarService extends IService<HouseStar> {
    ResponseResult selectPage(Integer pageNum, Integer pageSize);

    ResponseResult selectOne(Integer id);

    ResponseResult insertOne(HouseStar houseStar);

    ResponseResult deleteById(Integer id);

    ResponseResult updateOne(HouseStar houseStar);

    ResponseResult getStarUserId(Long userId);

    ResponseResult isStar(Integer userId, Long houseId);

    ResponseResult delete(Integer userId, Long houseId);

}

